package Experiment3;

public class Test {
    public static void main(String[] args){
        Card c1 = new Card("Li");
        IDCard c2 = new IDCard("Jun","2022213006");
        CallingCard c3 = new CallingCard("Tao","360481","jtyyds");
        IDCard c4 = new IDCard("Jun","2022213006");
        System.out.println(c1.format());
//        System.out.println(c2.toString());
        System.out.println(c3.format());
//        System.out.println(c2.equals(c4));
    }
}
